import { ready } from './utils'

export default async () => {
  await ready()
  return new Promise(resolve => {
    AlipayJSBridge.call('getCities', result => {
      resolve(result)
    })
  })
}
